/********************************************************************************
* @author: Liu  HZ
* @date: 2024/11/13
* @description: 
********************************************************************************/

#ifndef THE_PATH_OF_CPP_UTILS_H
#define THE_PATH_OF_CPP_UTILS_H
#include <chrono>

long long getCurrentTimeNanoseconds() {
    auto now = std::chrono::high_resolution_clock::now();
    auto duration = now.time_since_epoch();
    return std::chrono::duration_cast<std::chrono::nanoseconds>(duration).count();
}

#endif //THE_PATH_OF_CPP_UTILS_H
